package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * 
 * @TableName purchase_apply_order
 */
@TableName(value ="purchase_apply_order")
public class PurchaseApplyOrder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Object id;

    /**
     * 
     */
    private String applydepartment;

    /**
     * 
     */
    private String applicant;

    /**
     * 
     */
    private String applyphone;

    /**
     * 
     */
    private String applyemail;

    /**
     * 
     */
    private String goods;

    /**
     * 
     */
    private String goodsmodel;

    /**
     * 
     */
    private String goodsnumber;

    /**
     * 
     */
    private String goodsprice;

    /**
     * 
     */
    private String generalbudget;

    /**
     * 
     */
    private String purchasepurpose;

    /**
     * 
     */
    private String allocation;

    /**
     * 
     */
    private String deliverytime;

    /**
     * 
     */
    private String installdemand;

    /**
     * 
     */
    private String checkstandard;

    /**
     * 
     */
    private String identifycode;

    /**
     * 
     */
    private String trainingid;

    /**
     * 
     */
    private String userid;

    /**
     * 
     */
    private String ordertime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Object getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Object id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getApplydepartment() {
        return applydepartment;
    }

    /**
     * 
     */
    public void setApplydepartment(String applydepartment) {
        this.applydepartment = applydepartment;
    }

    /**
     * 
     */
    public String getApplicant() {
        return applicant;
    }

    /**
     * 
     */
    public void setApplicant(String applicant) {
        this.applicant = applicant;
    }

    /**
     * 
     */
    public String getApplyphone() {
        return applyphone;
    }

    /**
     * 
     */
    public void setApplyphone(String applyphone) {
        this.applyphone = applyphone;
    }

    /**
     * 
     */
    public String getApplyemail() {
        return applyemail;
    }

    /**
     * 
     */
    public void setApplyemail(String applyemail) {
        this.applyemail = applyemail;
    }

    /**
     * 
     */
    public String getGoods() {
        return goods;
    }

    /**
     * 
     */
    public void setGoods(String goods) {
        this.goods = goods;
    }

    /**
     * 
     */
    public String getGoodsmodel() {
        return goodsmodel;
    }

    /**
     * 
     */
    public void setGoodsmodel(String goodsmodel) {
        this.goodsmodel = goodsmodel;
    }

    /**
     * 
     */
    public String getGoodsnumber() {
        return goodsnumber;
    }

    /**
     * 
     */
    public void setGoodsnumber(String goodsnumber) {
        this.goodsnumber = goodsnumber;
    }

    /**
     * 
     */
    public String getGoodsprice() {
        return goodsprice;
    }

    /**
     * 
     */
    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    /**
     * 
     */
    public String getGeneralbudget() {
        return generalbudget;
    }

    /**
     * 
     */
    public void setGeneralbudget(String generalbudget) {
        this.generalbudget = generalbudget;
    }

    /**
     * 
     */
    public String getPurchasepurpose() {
        return purchasepurpose;
    }

    /**
     * 
     */
    public void setPurchasepurpose(String purchasepurpose) {
        this.purchasepurpose = purchasepurpose;
    }

    /**
     * 
     */
    public String getAllocation() {
        return allocation;
    }

    /**
     * 
     */
    public void setAllocation(String allocation) {
        this.allocation = allocation;
    }

    /**
     * 
     */
    public String getDeliverytime() {
        return deliverytime;
    }

    /**
     * 
     */
    public void setDeliverytime(String deliverytime) {
        this.deliverytime = deliverytime;
    }

    /**
     * 
     */
    public String getInstalldemand() {
        return installdemand;
    }

    /**
     * 
     */
    public void setInstalldemand(String installdemand) {
        this.installdemand = installdemand;
    }

    /**
     * 
     */
    public String getCheckstandard() {
        return checkstandard;
    }

    /**
     * 
     */
    public void setCheckstandard(String checkstandard) {
        this.checkstandard = checkstandard;
    }

    /**
     * 
     */
    public String getIdentifycode() {
        return identifycode;
    }

    /**
     * 
     */
    public void setIdentifycode(String identifycode) {
        this.identifycode = identifycode;
    }

    /**
     * 
     */
    public String getTrainingid() {
        return trainingid;
    }

    /**
     * 
     */
    public void setTrainingid(String trainingid) {
        this.trainingid = trainingid;
    }

    /**
     * 
     */
    public String getUserid() {
        return userid;
    }

    /**
     * 
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * 
     */
    public String getOrdertime() {
        return ordertime;
    }

    /**
     * 
     */
    public void setOrdertime(String ordertime) {
        this.ordertime = ordertime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PurchaseApplyOrder other = (PurchaseApplyOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getApplydepartment() == null ? other.getApplydepartment() == null : this.getApplydepartment().equals(other.getApplydepartment()))
            && (this.getApplicant() == null ? other.getApplicant() == null : this.getApplicant().equals(other.getApplicant()))
            && (this.getApplyphone() == null ? other.getApplyphone() == null : this.getApplyphone().equals(other.getApplyphone()))
            && (this.getApplyemail() == null ? other.getApplyemail() == null : this.getApplyemail().equals(other.getApplyemail()))
            && (this.getGoods() == null ? other.getGoods() == null : this.getGoods().equals(other.getGoods()))
            && (this.getGoodsmodel() == null ? other.getGoodsmodel() == null : this.getGoodsmodel().equals(other.getGoodsmodel()))
            && (this.getGoodsnumber() == null ? other.getGoodsnumber() == null : this.getGoodsnumber().equals(other.getGoodsnumber()))
            && (this.getGoodsprice() == null ? other.getGoodsprice() == null : this.getGoodsprice().equals(other.getGoodsprice()))
            && (this.getGeneralbudget() == null ? other.getGeneralbudget() == null : this.getGeneralbudget().equals(other.getGeneralbudget()))
            && (this.getPurchasepurpose() == null ? other.getPurchasepurpose() == null : this.getPurchasepurpose().equals(other.getPurchasepurpose()))
            && (this.getAllocation() == null ? other.getAllocation() == null : this.getAllocation().equals(other.getAllocation()))
            && (this.getDeliverytime() == null ? other.getDeliverytime() == null : this.getDeliverytime().equals(other.getDeliverytime()))
            && (this.getInstalldemand() == null ? other.getInstalldemand() == null : this.getInstalldemand().equals(other.getInstalldemand()))
            && (this.getCheckstandard() == null ? other.getCheckstandard() == null : this.getCheckstandard().equals(other.getCheckstandard()))
            && (this.getIdentifycode() == null ? other.getIdentifycode() == null : this.getIdentifycode().equals(other.getIdentifycode()))
            && (this.getTrainingid() == null ? other.getTrainingid() == null : this.getTrainingid().equals(other.getTrainingid()))
            && (this.getUserid() == null ? other.getUserid() == null : this.getUserid().equals(other.getUserid()))
            && (this.getOrdertime() == null ? other.getOrdertime() == null : this.getOrdertime().equals(other.getOrdertime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getApplydepartment() == null) ? 0 : getApplydepartment().hashCode());
        result = prime * result + ((getApplicant() == null) ? 0 : getApplicant().hashCode());
        result = prime * result + ((getApplyphone() == null) ? 0 : getApplyphone().hashCode());
        result = prime * result + ((getApplyemail() == null) ? 0 : getApplyemail().hashCode());
        result = prime * result + ((getGoods() == null) ? 0 : getGoods().hashCode());
        result = prime * result + ((getGoodsmodel() == null) ? 0 : getGoodsmodel().hashCode());
        result = prime * result + ((getGoodsnumber() == null) ? 0 : getGoodsnumber().hashCode());
        result = prime * result + ((getGoodsprice() == null) ? 0 : getGoodsprice().hashCode());
        result = prime * result + ((getGeneralbudget() == null) ? 0 : getGeneralbudget().hashCode());
        result = prime * result + ((getPurchasepurpose() == null) ? 0 : getPurchasepurpose().hashCode());
        result = prime * result + ((getAllocation() == null) ? 0 : getAllocation().hashCode());
        result = prime * result + ((getDeliverytime() == null) ? 0 : getDeliverytime().hashCode());
        result = prime * result + ((getInstalldemand() == null) ? 0 : getInstalldemand().hashCode());
        result = prime * result + ((getCheckstandard() == null) ? 0 : getCheckstandard().hashCode());
        result = prime * result + ((getIdentifycode() == null) ? 0 : getIdentifycode().hashCode());
        result = prime * result + ((getTrainingid() == null) ? 0 : getTrainingid().hashCode());
        result = prime * result + ((getUserid() == null) ? 0 : getUserid().hashCode());
        result = prime * result + ((getOrdertime() == null) ? 0 : getOrdertime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", applydepartment=").append(applydepartment);
        sb.append(", applicant=").append(applicant);
        sb.append(", applyphone=").append(applyphone);
        sb.append(", applyemail=").append(applyemail);
        sb.append(", goods=").append(goods);
        sb.append(", goodsmodel=").append(goodsmodel);
        sb.append(", goodsnumber=").append(goodsnumber);
        sb.append(", goodsprice=").append(goodsprice);
        sb.append(", generalbudget=").append(generalbudget);
        sb.append(", purchasepurpose=").append(purchasepurpose);
        sb.append(", allocation=").append(allocation);
        sb.append(", deliverytime=").append(deliverytime);
        sb.append(", installdemand=").append(installdemand);
        sb.append(", checkstandard=").append(checkstandard);
        sb.append(", identifycode=").append(identifycode);
        sb.append(", trainingid=").append(trainingid);
        sb.append(", userid=").append(userid);
        sb.append(", ordertime=").append(ordertime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}